/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package net.tygzs.minerpg.event;

import org.bukkit.event.Event;
import org.bukkit.event.HandlerList;

/**
 *
 * @author thtTNT
 */
public class MineRPGTimeChangeEvent extends Event
{

    private static final HandlerList handlers = new HandlerList();
    private final long time;

    @Override
    public HandlerList getHandlers()
    {
        return MineRPGTimeChangeEvent.handlers;
    }

    public MineRPGTimeChangeEvent(long time)
    {
        this.time = time;
    }

    public long getTime()
    {
        return this.time;
    }

    public static HandlerList getHandlerList()
    {
        return handlers;
    }
}
